﻿package org.net.UMsg
{
	import flash.utils.IDataOutput;
	
	//.攻击
//@22(short)|length(short)|dir(左为1 右为2)(short)|#
	public class UMsg22 extends UMsg
	{
		public var dir:int;
		public function UMsg22(dir:int)
		{
			type = 22;
			this.dir=dir
		}
		
		public override function write(dis:IDataOutput):void
		{
			dis.writeShort(dir);
		}

	}
}